package com.fastCms.business.bim.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * 区域管理
 * </p>
 *
 * @author liusq
 * @since 2021-04-05
 */
@ApiModel(value = "AreaVO", description = "区域管理")
@Data
public class AreaVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "父节点")
    private Integer pid;

    @ApiModelProperty(value = "节点名称")
    private String areaName;

    @ApiModelProperty(value = "详细地址")
    private String location;

    @ApiModelProperty(value = "节点X坐标")
    private String nodeX;

    @ApiModelProperty(value = "节点宽度")
    private String nodeXWidth;

    @ApiModelProperty(value = "节点Y坐标")
    private String nodeY;

    @ApiModelProperty(value = "节点高度")
    private String nodeXHeight;

    @ApiModelProperty(value = "子区域结构")
    public List<AreaVO> childArea;

    @ApiModelProperty(value = "给关联设备用的")
    private String deviceId;
}
